package com.diepu.www.client.xhh.partner.request;

import java.io.Serializable;

import org.apache.commons.lang3.StringUtils;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 借款申请:请求
 * 类描述: 借款申请:请求 <br/>     
 * 项目名称:diepu-parent-partner <br/> 
 * 类名称:ApplyLoanRequest <br/>     
 * 创建人:xiongxiaotun <br/> 
 * 创建时间:2017年8月23日 下午5:09:02  <br/>   
 * 修改人:xiongxiaotun <br/> 
 * 修改时间: 2017年8月23日 下午5:09:02   <br/>  
 * 修改备注:   <br/> 
 * @version V1.0   <br/>
 */
public class ApplyLoanRequest extends BasePartnerRequest implements Serializable{
	private static final long serialVersionUID = 1L;
	/**
	 * 验证
	 * @author xiongxiaotun <br/>
	 * @Title validate  <br/>
	 * @Description 验证  <br/>
	 * @return
	 * @version V1.0  <br/>
	 */
	@Override
	public boolean validate(){
		if(!StringUtils.isNoneBlank(salesmanProvince, name, cardNo, mobile1)){
			return false;
		}
		return true;
	}
	/**
	 * 业务员所在省份
	 */
	@JSONField(name = "salesman_province")
	private String salesmanProvince;
	/**
	 * 姓名
	 */
	private String name;
	/**
	 * 身份证号
	 */
	@JSONField(name = "card_no")
	private String cardNo;
	/**
	 * 手机
	 */
	private String mobile1;
	/**
	 * 配偶姓名
	 */
	@JSONField(name = "spouse_name")
	private String spouseName;
	/**
	 * 配偶身份证
	 */
	@JSONField(name = "spouse_card_no")
	private String spouseCardNo;
	/**
	 * 配偶手机号码
	 */
	@JSONField(name = "spouse_mobile")
	private String spouseMobile;
	public String getSalesmanProvince() {
		return salesmanProvince;
	}
	public void setSalesmanProvince(String salesmanProvince) {
		this.salesmanProvince = salesmanProvince;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCardNo() {
		return cardNo;
	}
	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}
	public String getMobile1() {
		return mobile1;
	}
	public void setMobile1(String mobile1) {
		this.mobile1 = mobile1;
	}
	public String getSpouseName() {
		return spouseName;
	}
	public void setSpouseName(String spouseName) {
		this.spouseName = spouseName;
	}
	public String getSpouseCardNo() {
		return spouseCardNo;
	}
	public void setSpouseCardNo(String spouseCardNo) {
		this.spouseCardNo = spouseCardNo;
	}
	public String getSpouseMobile() {
		return spouseMobile;
	}
	public void setSpouseMobile(String spouseMobile) {
		this.spouseMobile = spouseMobile;
	}
}
